package com.clms.marketings.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.clms.marketings.pojo.entity.TbAdvertise;
import org.apache.ibatis.annotations.Param;


public interface TbAdvertiseMapper extends BaseMapper<TbAdvertise> {
//    两表联查的时候用，单表的时候不用
    IPage<TbAdvertise> selectAll(IPage<TbAdvertise> page, @Param(Constants.WRAPPER) Wrapper<TbAdvertise> wrapper);
}
